package com.aynu.webshop.web.dao;

import java.util.List;

import com.aynu.webshop.core.generic.GenericDao;
import com.aynu.webshop.web.model.Cart;

public interface CartMapper extends GenericDao<Cart, Integer>{
    int deleteByPrimaryKey(Integer carId);

    int insert(Cart record);

    int insertSelective(Cart record);

    Cart selectByPrimaryKey(Integer carId);

    int updateByPrimaryKeySelective(Cart record);

    int updateByPrimaryKey(Cart record);
    
    List<Cart> findAll();
    
    List<Cart> findByuId(Integer uid);
}